<template>
  <div>
<ul>
  <li v-for="item in list" :key="item.id">
    {{item.uname}}
  </li>
</ul>
  <button @click='Fn'>走一走</button>
  </div>
</template>

<script>
export default {
data(){
  return {
list:[
{uname:'帅哥' },
{uname:'美女'} ,
{uname:'程序员' }
]
  }
},
methods:{
  Fn(){
     this.list.push(this.list[0]),
    this.list.shift()
    
    // this.$set(this.list,0,'{uname:"帅哥"}')
  }
}
}
</script>

<style>

</style>
